import { JSEncrypt } from 'jsencrypt'
export default function(password) {
  const encrypt = new JSEncrypt()
  encrypt.setPublicKey('MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDHE6//+6MI+qzTKL/udfkypNtdxQlRO7Gmrp9XnWPI3DYu2ikAiL8KRCGGdHb2O5bc752Z1lK2e19dHSQFRISbJlmZVeC0aih3dfkmSEAwo+gZjwBy1MpabSiPYy6SKnALID5f9SFXghBcHQYWyn0ZTr4y8MfKT8xMRTm4S/zYYQIDAQAB')
   const data = encrypt.encrypt(password)
  return data
}


